package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 上传信息表
 * </p>
 *
 * @author stylefeng
 * @since 2018-09-26
 */
@TableName("upload_info")
public class UploadInfo extends Model<UploadInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 类型
     */
    private String type;
    /**
     * 被保险人姓名
     */
    @TableField("insurer_name")
    private String insurerName;
    /**
     * 联系方式
     */
    private String contact;
    /**
     * 报案序号
     */
    @TableField("report_num")
    private String reportNum;
    /**
     * 领取类型 （0：被保险人领取，1：为非被保险人领取
     */
    @TableField("gain_type")
    private String gainType;
    /**
     * 领款人
     */
    private String payee;
    /**
     * 开户行
     */
    @TableField("bank_name")
    private String bankName;
    /**
     * 银行账号
     */
    @TableField("bank_account")
    private String bankAccount;
    /**
     * 投保人证件类型
     */
    @TableField("insurer_certificate_type")
    private String insurerCertificateType;
    /**
     * 领卡人证件类型
     */
    @TableField("gain_certificate_type")
    private String gainCertificateType;
    /**
     * 授权人类型
     */
    @TableField("authory_person_type")
    private String authoryPersonType;
    /**
     * 出险地点
     */
    @TableField("incident_addr")
    private String incidentAddr;
    /**
     * 是否住院，1：是 ，0：否
     */
    @TableField("is_hospitalized")
    private String isHospitalized;
    /**
     * 医院地址
     */
    @TableField("hospital_addr")
    private String hospitalAddr;
    /**
     * 是否车辆：1：是 ，0：否
     */
    @TableField("is_car")
    private String isCar;
    /**
     * 状态 1：为有效，0为无效
     */
    private String state;
    private String creater;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getInsurerName() {
        return insurerName;
    }

    public void setInsurerName(String insurerName) {
        this.insurerName = insurerName;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getReportNum() {
        return reportNum;
    }

    public void setReportNum(String reportNum) {
        this.reportNum = reportNum;
    }

    public String getGainType() {
        return gainType;
    }

    public void setGainType(String gainType) {
        this.gainType = gainType;
    }

    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getInsurerCertificateType() {
        return insurerCertificateType;
    }

    public void setInsurerCertificateType(String insurerCertificateType) {
        this.insurerCertificateType = insurerCertificateType;
    }

    public String getGainCertificateType() {
        return gainCertificateType;
    }

    public void setGainCertificateType(String gainCertificateType) {
        this.gainCertificateType = gainCertificateType;
    }

    public String getAuthoryPersonType() {
        return authoryPersonType;
    }

    public void setAuthoryPersonType(String authoryPersonType) {
        this.authoryPersonType = authoryPersonType;
    }

    public String getIncidentAddr() {
        return incidentAddr;
    }

    public void setIncidentAddr(String incidentAddr) {
        this.incidentAddr = incidentAddr;
    }

    public String getIsHospitalized() {
        return isHospitalized;
    }

    public void setIsHospitalized(String isHospitalized) {
        this.isHospitalized = isHospitalized;
    }

    public String getHospitalAddr() {
        return hospitalAddr;
    }

    public void setHospitalAddr(String hospitalAddr) {
        this.hospitalAddr = hospitalAddr;
    }

    public String getIsCar() {
        return isCar;
    }

    public void setIsCar(String isCar) {
        this.isCar = isCar;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "UploadInfo{" +
        "id=" + id +
        ", type=" + type +
        ", insurerName=" + insurerName +
        ", contact=" + contact +
        ", reportNum=" + reportNum +
        ", gainType=" + gainType +
        ", payee=" + payee +
        ", bankName=" + bankName +
        ", bankAccount=" + bankAccount +
        ", insurerCertificateType=" + insurerCertificateType +
        ", gainCertificateType=" + gainCertificateType +
        ", authoryPersonType=" + authoryPersonType +
        ", incidentAddr=" + incidentAddr +
        ", isHospitalized=" + isHospitalized +
        ", hospitalAddr=" + hospitalAddr +
        ", isCar=" + isCar +
        ", state=" + state +
        ", creater=" + creater +
        ", createTime=" + createTime +
        "}";
    }
}
